// pages/test/test.js
Page({
  iserr(e) {
    this.showModal()
  },
  showModal(e) {
    this.setData({
      modalName: 'Modal',
    })
    this.drawImg();
  },
  hideModal(e) {
    this.setData({
      modalName: null
    })
  },
})